package name.bingo.bing.decorator;

/**
 * 装饰者
 */
public class DownProduct extends Decorator{

    public DownProduct(Charge charge, int free){
        super(charge,free);
    }

    @Override
    public int cost() {
        return charge.cost()+free;
    }

    @Override
    public String desc() {
        return charge.desc()+"+卸货费:"+free;
    }


    @Override
    public void doSomething() {

    }

}
